package com.bw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_person
 */
@TableName(value ="t_person")
@Data
public class TPerson implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String gender;

    /**
     * 
     */
    private Integer age;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String tel;

    /**
     * 
     */
    private String idcard;

    /**
     * 
     */
    private Date created;

    /**
     * 
     */
    private Integer dptId;

    /**
     * 
     */
    private Integer doctorId;

    /**
     * 
     */
    private Integer bedId;

    /**
     * 
     */
    private String je;

    /**
     * 
     */
    private String zd;

    /**
     * 
     */
    private String yb;
    @TableField(exist = false)
    private String dptname;
    @TableField(exist = false)
    private String doctorname;
    @TableField(exist = false)
    private String bedname;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}